package cn.sciento.farm.devicemanager.service.impl;

import cn.sciento.farm.devicemanager.dao.entity.DevDeviceStatus;
import cn.sciento.farm.devicemanager.dao.mapper.DeviceStatusMapper;
import cn.sciento.farm.devicemanager.service.DeviceStatusService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class DeviceStatusServiceImpl implements DeviceStatusService {

    @Autowired
    private DeviceStatusMapper deviceStatusMapper;

    @Override
    public int insert(DevDeviceStatus devDeviceStatusLog) {
        return deviceStatusMapper.insert(devDeviceStatusLog);
    }
}
